<?php get_header(); ?>
<div id="container">
	<?php if(have_posts()) : ?>
		<?php while(have_posts()) : the_post(); ?>
		<div class="post" id="post-<?php the_ID(); ?>">
			<p class="dateheader"><?php the_time('M d Y'); ?></p>
			<h2 class="posttitle"><?php the_title(); ?></h2>
			<div class="entry">
			<?php the_content(); ?>
			<?php link_pages('<p><code>Pages:</strong> ', '</p>', 'number'); ?>
				<p class="postmetadata">
<a href="<?php the_permalink(); ?>" class="permalink">Permalink &#8734;</a> | <a href="http://feeds.feedburner.com/CuoluosBlog" class="rss">Subscribe (RSS)</a>
<?php edit_post_link('Edit', '{', '}'); ?>
				</p>
			</div>
			<div class="comments-template">
			<?php comments_template(); ?>
			</div>
		</div>
		<?php endwhile; ?>
	<?php else : ?>
		<div class="post">
		<h2><?php _e('Not Found'); ?></h2>
		</div>
	<?php endif; ?>

</div>

<?php get_footer(); ?>

</div>
</body>
</html>
